package com.shop.shoppojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MedicalRecord implements Serializable {
    // 序列化版本号
    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    // 年龄 0<x<=150
    private String age;
    // 身高cm 0<x<=200cm
    private String height;
    // 体重kg 0<x<=500kg
    private String weight;
    // 过敏
    private String allergy;
    // 血压 2高1低0正常
    private Integer bloodPressure;
    // 血糖 2高1低0正常
    private Integer bloodGlucose;
    // 口味
    private String taste;
    // 性别 1男0女
    private Integer sex;
    // 用户id
    private Long userId;

}
